//
//  UIBarButtonItem+Extension.h
//  FastRunning
//
//  Created by YANG on 2018/4/16.
//  Copyright © 2018年 HUA. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (Extension)

/** 左边只带 只带图片的ButtonItem */
+ (instancetype)itemWithLeftImage:(UIImage *)img highImage:(UIImage *)highImg target:(id)target action:(SEL)action;

/** 只带图片的ButtonItem */
+ (instancetype)itemWithImage:(NSString *)img highImage:(NSString *)highImg target:(id)target action:(SEL)action;

/** 只有文字和高亮文字颜色的ButtonItem */
+ (instancetype)itemWithTitle:(NSString *)title color:(UIColor *)color highColor:(UIColor *)highColor  target:(id)target action:(SEL)action;

/** 只有文字和高亮文字颜色的RihtButtonItem */
+ (instancetype)itemWithRihtTitle:(NSString *)title   color:(UIColor *)color highColor:(UIColor *)highColor target:(id)target action:(SEL)action;

/** 带有选中文字和高亮文字颜色的RihtButtonItem */
+ (instancetype)itemWithRihtNormalTitle:(NSString *)title selectedTitle:(NSString *)selTitle color:(UIColor *)color highColor:(UIColor *)highColor target:(id)target action:(SEL)action;

@end
